package com.vhall.component.entity.redpacket.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.entity.rebroadcast.RedPacketEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author xuyongzheng
 * @since 2021/3/2 20:57
 **/
@Data
public class RedPacketVO extends RedPacketEntity {

    /**
     * 时间差 毫秒
     */
    private Long time;

    /**
     * 时间差
     */
    @JsonProperty("valid_time")
    private Long validTime;

    /**
     * 推送次数
     */
    @JsonProperty("push_count")
    private Integer pushCount;

    /**
     * 发送红包金额
     */
    @JsonProperty("push_amount")
    private BigDecimal pushAmount;

    @JsonProperty("nick_name")
    private String nickname;

    private String avatar;
}
